Skip to content

Split: FoundationXML #2432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 2, 2019
Merged

Split: FoundationXML #2432

merged 8 commits into from
Aug 2, 2019

Conversation

millenomi
Copy link
Contributor

@millenomi millenomi commented Jul 25, 2019

Split the portions of Foundation that depend on libxml2 into their own module, FoundationXML. This is the last module to be split off.

Split the portions of Foundation that depend on libxml2 into their own module, FoundationXML. This is the last module to be split off.
@millenomi
Copy link
Contributor Author

@swift-ci please test

@spevans
Copy link
Contributor

spevans commented Jul 26, 2019

Probably worth adding an integration test along the lines of https://github.com/apple/swift-integration-tests/pull/60/files to check it all builds ok

@millenomi
Copy link
Contributor Author

Agreed.

@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

millenomi commented Jul 26, 2019

The failure is unrelated; let's see how Linux fares.

@millenomi
Copy link
Contributor Author

The failure will be fixed by swiftlang/swift#26372

@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test

@millenomi
Copy link
Contributor Author

swiftpm needs an adoption patch; I’ll whip one up tomorrow. cc @aciidb0mb3r

@aciidgh
Copy link

aciidgh commented Jul 31, 2019

Oh wow. I just landed that today, sorry! ._.

@aciidgh
Copy link

aciidgh commented Jul 31, 2019

@millenomi This should do it: swiftlang/swift-package-manager#2257

@aciidgh
Copy link

aciidgh commented Jul 31, 2019

Please test with following pull request:
swiftlang/swift-package-manager#2257

@swift-ci Please test Linux

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2257

@swift-ci please test Linux

@millenomi
Copy link
Contributor Author

@swift-ci please test Linux

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test Linux

@millenomi
Copy link
Contributor Author

Yeah, the adoption patch needs to go the whole nine yards the same way we did with FoundationNetworking. I’ll do it today.

millenomi added a commit to millenomi/swift-package-manager that referenced this pull request Jul 31, 2019
Ensure all constituent modules of Foundation are available, including their (for now, visible) implementation dependencies. Must land in lockstep with swiftlang/swift-corelibs-foundation#2432
@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258

@swift-ci please test

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258

@swift-ci please test

@millenomi
Copy link
Contributor Author

It's green on the SPM patch, but let's wait until these are finished and the smoke tests finish there.

@millenomi
Copy link
Contributor Author

millenomi commented Jul 31, 2019

The failure is in llbuild and is unrelated. @aciidb0mb3r

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

@millenomi
Copy link
Contributor Author

@millenomi
Copy link
Contributor Author

millenomi commented Aug 1, 2019

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

@millenomi
Copy link
Contributor Author

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

1 similar comment
@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

@millenomi
Copy link
Contributor Author

Please test with the following:
swiftlang/swift-package-manager#2258
swiftlang/swift-integration-tests#62

@swift-ci please test

${WORKAROUND_SR9995}
SWIFT_FLAGS
-DDEPLOYMENT_RUNTIME_SWIFT
-DNS_BUILDING_FOUNDATION_NETWORKING
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this one correct? Or necessary? I don't see it used anywhere else in the commit (unless it appears in some unexpanded file). If we rely on it because it was already used like this in FoundationNetworking, maybe it would be good to update it to something more “neutral”. If anyone knows the answer, I will not mind doing the PR, but I don’t exactly know what to do.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was, indeed, a mistake.

There is one file that is shared between the Foundation and FoundationNetworking builds containing internal calls; in Networking, we have to import Foundation, and that's what this guards. It is unnecessary in FoundationXML.

aemino pushed a commit to aemino/swift-package-manager that referenced this pull request Sep 14, 2019
Ensure all constituent modules of Foundation are available, including their (for now, visible) implementation dependencies. Must land in lockstep with swiftlang/swift-corelibs-foundation#2432
@chrigu1981
Copy link

chrigu1981 commented Oct 18, 2019

func parserDidEndDocument(_ parser: XMLParser)

not getting called

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants